package com.example.zqh.service;

import com.example.zqh.model.RespBean;
import com.example.zqh.pojo.UserPermissionConnect;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 邓龙飞
 * @since 2022-09-10
 */
public interface UserPermissionConnectService extends IService<UserPermissionConnect> {

    /**
      * @Author: 邓龙飞
      * @Date:
      * @Description: 回收boss权限
    */
    RespBean loseBoss(Integer id);

    /**
      * @Author: 邓龙飞
      * @Date:
      * @Description: 添加boss权限
    */

    RespBean addBoss(Integer id);

    /**
      * @Author: 邓龙飞
      * @Date:
      * @Description: 回收admin权限
    */
    RespBean loseAdmin(Integer id);


    /**
      * @Author: 邓龙飞
      * @Date:
      * @Description: 添加admin权限
    */
    RespBean addAdmin(Integer id);
}
